﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NServiceBus.Management.Messages.Status
{
    [Serializable]
    public class ExtendedEndpointStatus : IMessage
    {
        public enum AppStatus
        {
            running = 0,
            stoped,
            notResponding
        }

        public string ApplicationName { get; set; }
        public string ApplicationDescription { get; set; }
        public string ApplicationContactDetailsPhoneNr { get; set; }
        public string ApplicationContactDetailsAdress { get; set; }
        public string ApplicationContactDetailsPostalCode { get; set; }
        public string ApplicationContactDetailsCity { get; set; }
        public string ApplicationContactDetailsEmail { get; set; }
        public string ApplicationSupportPhoneNr { get; set; }
        public string ApplicationSupportEmail { get; set; }
        public AppStatus ApplicationStatus { get; set; }

        public IDictionary<string, string> ApplicationMessage { get; set; }

        public IList<ExtendedEndpointStatus> BackEndApplications { get; set; }
    }
}
